﻿<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="seeion.asp"-->
<script language="javascript">
function showUploadDialog(s_Type, s_Link, s_Thumbnail){
var arr = showModalDialog("eWebEditor/dialog/i_upload.htm?style=popup&type="+s_Type+"&link="+s_Link+"&thumbnail="+s_Thumbnail, window, "dialogWidth:0px;dialogHeight:0px;help:no;scroll:no;status:no");}
</script>
<html>
<head>
<title>增加职位</title>
<link href="images/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<%if request("type")="" then%>

<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" class="head"><strong>增加职位</strong></td>
</tr>
<tr>
<td>
<form method="post" name="myform" action="admin_job_pass.asp?type=add">
    <table width="100%" border="0" align="center" cellpadding="6" cellspacing="0">
    <tr>
    <td width="15%"><div align="center">招聘标题</div></td>
    <td width="36"><input name="title" type="text" id="title" size="40"></td>
    </tr>
    <tr>
    <td width="15%"><div align="center">职位名称</div></td>
    <td><input name="Descriptions" type="text" id="Descriptions" size="40"></td>
    </tr>
    <tr>
    <td width="15%"><div align="center">所属分类</div></td>
    <td>
    <select name="SortID" id="select">
      <option value="1">园区招聘</option>
      <option value="2">园区企业招聘</option>
    </select></td>
    </tr>
    <tr>
      <td><div align="center">是否推荐</div></td>
      <td><input type="checkbox" name="Elite" id="Elite" />
        <label for="Elite">是 </label></td>
      </tr>
    <tr>
    <td width="15%"><div align="center">职位内容<font color="#FF0000"> (中文)</font></div></td>
    <td><INPUT type="hidden" name="Content" value="">
    <IFRAME ID="eWebEditor1" SRC="ewebeditor/ewebeditor.htm?id=Content&style=popup" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="400"></IFRAME></td>
    </tr>
    <tr>
    <td width="15%">&nbsp;</td>
    <td><input type="submit" name="button"  value="確认提交" /></td>
    </tr>
    </table>
</form>
</td>
</tr>
</table>

<%else%>

<% 
exec="select * from job where id="& request.QueryString("id") 
set rs=server.createobject("adodb.recordset") 
rs.open exec,conn,1,1 
%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="30" class="head"><strong>管理职位</strong></td>
</tr>
<tr>
<td>
<FORM method="post" name="myform" action="admin_job_pass.asp?type=update">
<input name="id" type="hidden" id="id" value="<%=request.querystring("id")%>"/>
<table width="100%" border="0" align="center" cellpadding="6" cellspacing="0">
  <tr>
    <td width="15%"><div align="center">招聘标题</div></td>
    <td width="36"><input name="Title" type="text" id="Title" value="<%=rs("Title")%>" size="40" /></td>
  </tr>
  <tr>
    <td width="15%"><div align="center">职位名称</div></td>
    <td><input name="Descriptions" type="text" id="Descriptions" value="<%=rs("Descriptions")%>" size="40" /></td>
  </tr>
  <tr>
    <td width="15%"><div align="center">所属分类</div></td>
    <td><select name="SortID" id="SortID">
      <option value="1" <%if rs("SortID") = 1 then response.write "selected='selected'" %>>园区招聘</option>
      <option value="2" <%if rs("SortID") = 2 then response.write "selected='selected'" %>>园区企业招聘</option>
    </select></td>
  </tr>
  <tr>
    <td><div align="center">是否推荐</div></td>
    <td><input name="Elite" type="checkbox" id="Elite" <%if rs("Elite") = true then response.write "checked='checked'" %> />
        <label for="Elite">是 </label></td>
  </tr>
  <tr>
    <td width="15%"><div align="center">职位内容<font color="#FF0000"> (中文)</font></div></td>
    <td><input type="hidden" name="Content" value="<%=rs("Content")%>" />
        <iframe id="eWebEditor2" src="ewebeditor/ewebeditor.htm?id=Content&amp;style=popup" frameborder="0" scrolling="No" width="100%" height="400"></iframe></td>
  </tr>
  <tr>
    <td width="15%">&nbsp;</td>
    <td><input type="submit" name="button2"  value="確认提交" /></td>
  </tr>
</table>
</form>
</td>
</tr>
</table>

<%end if%>

</body>
</html>
<!--#include file="Language.asp"-->
